package com.infoauto.opc.gateway.service.impl;

import com.infoauto.opc.gateway.dao.AndCordRopeRecordDao;
import com.infoauto.opc.gateway.model.AndCordRopeRecord;
import com.infoauto.opc.gateway.service.AndCordRopeRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AndCordRopeRecordServiceImpl implements AndCordRopeRecordService {
    @Autowired
    private AndCordRopeRecordDao dao;


    @Override
    public int insert(AndCordRopeRecord andCordRopeRecord) {
        return dao.insert(andCordRopeRecord);
    }

    @Override
    public int update(AndCordRopeRecord andCordRopeRecord) {
        return dao.update(andCordRopeRecord);
    }
}
